package com.xiaoh.dormitoryrepairreportbackend.model.dto.workorder;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 工单统计响应
 */
@Data
@Schema(description = "工单统计响应")
public class WorkOrderStatsResponse implements Serializable {

    /**
     * 总工单数
     */
    @Schema(description = "总工单数")
    private Long totalCount;

    /**
     * 待处理工单数
     */
    @Schema(description = "待处理工单数")
    private Long pendingCount;

    /**
     * 已完成工单数
     */
    @Schema(description = "已完成工单数")
    private Long completedCount;

    /**
     * 已评价工单数
     */
    @Schema(description = "已评价工单数")
    private Long reviewedCount;

    /**
     * 已取消工单数
     */
    @Schema(description = "已取消工单数")
    private Long cancelledCount;

    /**
     * 处理中工单数
     */
    @Schema(description = "处理中工单数")
    private Long inProgressCount;

    private static final long serialVersionUID = 1L;
}
